﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Xml;
using System.Text;
using xrwang.weixin.PublicAccount;

public partial class Test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string userName = "gh_5dbae931ec49";
        string url = "https://api.weixin.qq.com/semantic/semproxy/search?access_token={0}";
        string json = "{\"query\":\"查一下明天从北京到沅河镇的飞机\",\"city\":\"北京\",\"category\": \"flight\",\"appid\":\"wx132b893af5cfcb4d\",\"uid\":\"123456\"}";
        ltrMsg.Text = HttpHelper.RequestResponseContent(url, userName, null, "Post", json);
    }
}